<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> USE-CASE 11, SENDING THE PACKETS REAL TIME </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>

<BODY>
<H2 align="center">USE CASE 11: Sending TraffoPackets in real time </H2>
<p><B>Primary Actor:</B> Simulation Operator</p> 


<P><B>Stakeholders and Interests:</B><BR>
-  Simulation operator wants to send TraffoPacket data in a way which would 
support real-time data analysis for TraffoBase. </P>

<P><B>Preconditions:</B><BR>
- Configuration files for real-time TraffoPackets sending successfully 
parsed by TraffoSim and TraffoPacket data generated.
</P>

<P>
<B>Postconditions:</B><BR>
- Simulation operator gets sufficient data via TraffoPackets sent to 
TraffoBase to analyze traffic conditions of various routes in real-time.
</P>

<B>Main Success Scenario:</B>
<OL>
<LI>Simulation operator sets the parameters for sending real time 
traffic data into TraffoSim.
<LI>Simulation operator starts TraffoSim to send TraffoPacket data to 
TraffoBase as defined by configuration file.
<LI>Simulation operator sends TraffoPackets after a set interval (for 
instance 5 mins) to TraffoBase again as defined by the configuration file.
<LI>Simulation operator continues step 4 until all TraffoPackets are sent 
as defined by the configuraion files.
<LI>Simulation operator successfully analyzes traffic conditions of various 
routes in real time. 
</OL>

<B>Alternative Scenarios:</B><BR>
	<UI>3 TraffoBase is overloaded and crashes
	<UL>
		<LI>a. Simulation operator stops TraffoSim.
		<LI>b. Simulation operator waits for the TraffoBase to resume normal 
operations.
<LI>c.Simulation operator lauches TraffoSim again.
<LI>d.Simulation operator loads new configuration file for batch 
TraffoPackets data (to avoid overloading the server).
<LI>e.Simulation operator re-send batch data via TraffoPackets to 
TraffoBase.
	</UL>

</UL>
<P><B>GUI Interaction:</B><BR>
<IMG SRC="images/case20.JPG" WIDTH="400" HEIGHT="520" BORDER="0" ALT="">
</P>
<P>
<B>Open Issues:</B><BR>
<BR>
</P>
</BODY>
</HTML>
